/*
 * EnigmaGM - A feature rich guild management system.
 * Copyright (C) 2007 ajiaojr.
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA.
 */
package org.ajiaojr.enigmagm.client.data;

import java.io.Serializable;
import java.util.Date;

public class Event implements Serializable {

  /**
   * 
   */
  private static final long serialVersionUID = 8576037005612828777L;

  private String comments;

  private int eventID;

  private long eventTime;

  private String raidBossName;

  private double value;

  public Event() {
  }

  public Event(int eventID, String raidBossName, long eventTime,
      String comments, double value) {
    this.eventID = eventID;
    this.raidBossName = raidBossName;
    this.eventTime = eventTime;
    this.comments = comments;
    this.value = value;
  }

  public String getComments() {
    return comments;
  }

  public int getEventID() {
    return eventID;
  }

  public long getEventTime() {
    return eventTime;
  }

  public Date getEventTimeAsDate() {
    return new Date(eventTime);
  }

  public String getRaidBossName() {
    return raidBossName;
  }

  public double getValue() {
    return value;
  }

  public void setComments(String comments) {
    this.comments = comments;
  }

  public void setEventID(int eventId) {
    this.eventID = eventId;
  }

  public void setEventTime(long eventTime) {
    this.eventTime = eventTime;
  }

  public void setRaidBossName(String raidBossName) {
    this.raidBossName = raidBossName;
  }

  public void setValue(double value) {
    this.value = value;
  }
}
